// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue';
import App from './App';
import router from './router';
import message from './components/public/message';
import http from './http';
import { Tab, Tabs, Swipe, SwipeItem, AddressEdit } from '../node_modules/vant';
import '../node_modules/vant/lib/index.css';
import Vuex from '../node_modules/vuex/';
import iView from '../node_modules/iview';
import '../node_modules/iview/dist/styles/iview.css';

Vue.config.productionTip = false;
Vue.use(Swipe).use(SwipeItem);
Vue.use(Tab).use(Tabs);
Vue.use(AddressEdit);
Vue.use(message);
Vue.use(http);
Vue.use(Vuex);
Vue.use(iView);

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>',
});
